[]
Creates a View object that encapsulates a LayoutView and adds it as the top layer.
public View CreateView(float width, float height)
Public Function CreateView(width As Single, height As Single) As View
Type | Name | Description |
---|---|---|
float | width | The width of the associated LayoutView. |
float | height | The height of the associated LayoutView. |
Type | Description |
---|---|
View |
Creates a View object that encapsulates a LayoutView and adds it as the top layer.
public View CreateView(float width, float height, Action<GcGraphics, Layer> draw)
Public Function CreateView(width As Single, height As Single, draw As Action(Of GcGraphics, Layer)) As View
Type | Name | Description |
---|---|---|
float | width | The width of the associated LayoutView. |
float | height | The height of the associated LayoutView. |
Action<GcGraphics, Layer> | draw | A delegate that accepts a GcGraphics object and a Layer, and draws the layer on the graphics. |
Type | Description |
---|---|
View |